package co.edu.usbcali.prototipobeta.dataaccess.dao;

import co.edu.usbcali.prototipobeta.modelo.Rol;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for RolDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IRolDAO {
    public void save(Rol instance);

    public void delete(Rol instance);

    public void update(Rol instance);

    public Rol findById(Long id);

    public List<Rol> findByExample(Rol instance);

    public List<Rol> findByProperty(String propertyName, Object value);

    public List<Rol> findAll();

    public List<Rol> findByCriteria(String whereCondition);

    public List<Rol> findPageRol(String sortColumnName, boolean sortAscending,
        int startRow, int maxResults);

    public Long findTotalNumberRol();

    public List<Rol> findByRolId(Object rolId);

    public List<Rol> findByRolNombre(Object rolNombre);
}
